<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登陆页面</title>
		<link rel="stylesheet" href="./Public/Home/bootstrap-3.3.5-dist/css/bootstrap.min.css" />
		<script type="text/javascript" src='./Public/Home/jquery.min.js'></script>
		<script type="text/javascript" src='./Public/Home/bootstrap-3.3.5-dist/js/bootstrap.min.js'></script>
		<link rel="stylesheet" href="./Public/Home/css/login.css" />
		<script type="text/javascript" src='./Public/Home/js/index.js'></script>
	</head>
	<body>
		<!--公共顶部-->
		<div class="tp _w100">
			<div class="top _certain">
				<ul class="top_l">
					<li><a href="<?php echo U('Index/index')?>">时尚商城</a></li>
					<li class="ip">
						<a href=""><i class="glyphicon glyphicon-phone"></i>手机优购<span class="caret"></span></a>
						<div class="wx">
									<div class="dv1 fl"></div>
									<a href=""><div class="dv2 fl"></div></a>
									<a href=""><div class="dv3 fl"></div></a>
									<div class="la fl">安装优购客户端</div>
						</div>
					</li>
				</ul>
				<ul class="top_r">					
					<li class="fz">
							<a class="link" href="">
							更多<span class="caret">	
							<ul class="hz" style="z-index: 100;" >
								<li><a href="">收藏优购</a></li>
								<li>&nbsp;&nbsp;<a href="">帮助</a></li>
							</ul>
						</a>
					</li>
					<li class="cil">
							<a class="link fy" href="" style="z-index: 100;">
							公告<span class="caret"></span>
							<ul class="hiy" style="z-index: 10;" >
								<li><a href="">新年翻新样 运动￥89起</a></li>
								<li><a href=""> 精美舒适低跟靴 ￥99起 </a></li>
								<li><a href=""> 首尔卫衣特卖场 70%OFF </a></li>
								<li><a href=""> 优购首尔站 停发货详情 </a></li>
								<li><a href=""> 提醒会员谨防诈骗电话 </a></li>
							</ul>
							</a>
						</li>
					<a class="link" href="">
						我的订单						
					</a>&nbsp;&nbsp;					
					<a class="link fx" href="">
							我的优购<span class="caret"></span>
							<div class="hid">&nbsp;&nbsp;我的收藏</div>
						</a>
					<a class="link" href="javascript:;">|</a>&nbsp;&nbsp;
					 <?php if(isset($_SESSION['uid'])){?>
                
							<a class="link kt" href="">欢迎 &nbsp;
								<span class="red" style=""><?php echo $_SESSION['email']?></span>&nbsp;回来
							</a>&nbsp;&nbsp;
							 <a class="link" href="<?php echo U('Login/out')?>">退出</a>
						<?php }else{?>
						 <a class="link kt" href="<?php echo U('Login/index')?>">登录</a>&nbsp;&nbsp;
						 <a class="link" href="<?php echo U('Reg/index')?>">注册 &nbsp;&nbsp;|&nbsp;&nbsp; </a>
						 
               <?php }?> 					 																
				</ul>
				
			</div>
		</div>
		<!--顶部结束-->
		<!--新用户注册-->
		<div class="_w100">
			<div class="new_reg _certain">
				<li class="big fl">用户登录</li>
				<div class="return fl">
					<a href="<?php echo U('Index/index')?>">返回时尚商城</a>
				</div>
			</div>
		</div>
		<div class="cut _w100"></div>
		<!--公共顶部结束-->
		<!--登录-->
		
		<div class="cut _w100"></div>
		<!--登录表单-->
		<div class="_w100">
			<div class="login _certain">
				<form class="form-horizontal" method="post">
					  <div class="form-group">
					    <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
					    <div class="col-sm-5">
					      <input type="text" class="form-control" id="inputEmail3" placeholder="请输入用户名" name="email">
					    </div>
					  </div>
					  <div class="form-group">
					    <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
					    <div class="col-sm-5">
					      <input type="password" class="form-control" id="inputPassword3" placeholder="请输入密码" name="password">
					    </div>
					  </div>
					 
					  <div class="form-group">
					    <div class="col-sm-offset-2 col-sm-10">
					      <button type="submit" class="btn btn-warning btn-lg">登陆</button>
					    </div>
					  </div>
				</form>
				<div class="partner">
					<p>使用合作账户优先登陆</p>
					<p>
						<a href="">支付宝</a>
						<a href="">微信</a>
						<a href="">新浪微博</a>
						<a href="">QQ</a>
					</p>
					
				</div>
				<div class="bottom">
					<p class="title">还不是优购用户？</p>
					<p class="desc">
						现在立即注册成为优购用户，便能立刻享受便宜又放心的购物乐趣。
					</p>
					<a href="<?php echo U('Reg/index')?>">
						<button class="btn btn-warning">
							注册新用户
						</button>
					</a>
				</div>
			</div>
		</div>
		
		
		
		
		
		
	</body>
</html>
